const api = 'https://invitedinner.icebartech.com/api/';
module.exports = {
  // 小程序用户登录、用户管理
  USER: {
    REGISTER: api + "mini/user/Register",
    ADD_ATTENTIONINFO: api + "mini/user/addAttentionInfo",
    ADD_USERFEEDBACK: api + "mini/user/addUserFeedback",
    DELETE_ATTENTIONINFO: api + "/mini/user/deleteAttentionInfo",  // 取消关注
    EDIT_MINIUSERINFO: api + "mini/user/editMiniUserInfo",
    FIND_ATTENTIONINFO_BYPAGE: api + "mini/user/findAttentionInfoByPage",
    FIND_CREDITINFO: api + "mini/user/findCreditInfo",
    FIND_FANINFO_BYPAGE: api + "mini/user/findFanInfoByPage",
    FIND_MOBILE: api + "mini/user/findMobile",
    FIND_MOBILECODE: api + "mini/user/findMobileCode",  // 获取手机验证码
    FIND_PWD: api + "mini/user/findPwd",
    FIND_USERINFO: api + "mini/user/findUserInfo",  // 查询用户信息
    MINI_LOGIN: api + "mini/user/miniLogin",
    MINI_WEIXINLOGIN: api + "mini/user/miniWeixinLogin",
    MODIFYPWD: api + "mini/user/modifyPwd",
    SAVE_MINIUSERINFO: api + "mini/user/saveMiniUserInfo",
    UPDATE_MOBILE: api + "mini/user/updateMobile", // 修改手机号码
    DELETE_PHOTO: api + "mini/user/deletePhoto", // 删除照片
    FIND_PRIVACY_INFO: api + 'mini/user/findPrivacyInfo',
    SAVE_PRIVACY_USER: api + '/mini/user/savePrivacyUser',
    SAVE_USER_VIDEO: api + '/mini/user/saveUserVideo',    // 保存认证视频
    CHECK_USER_VIDEO:api + '/mini/user/checkUserVideo'
  },
  REGISTRATION: {
    EDIT_EVENTREGISTRATION: api + "mini/registration/editEventRegistration",
    EXIT_EVENTINFO: api + "mini/registration/exitEventInfo",
    FIND_ALREADYEVENTREGISTRATION: api + "mini/registration/findAlreadyEventRegistration", // 查找已经参加的活动
    FIND_EVENTREGISTRATION: api + "mini/registration/findEventRegistration",
    SAVE_EVENTREGISTRATION: api + "mini/registration/saveEventRegistration"
  },
  EVENT: {
    DELETE_EVENTINFO: api + "mini/event/deleteEventInfo",
    EDIT_EVENTINFO: api + "mini/event/editEventInfo",
    FIGHTINGFRIENDS: api + "mini/event/fightingFriends",  // 查看拼友
    FIND_EVENTCOLLECTION: api + "mini/event/findEventCollection",
    FIND_EVENTINFO: api + "mini/event/findEventInfo",  // 查询发布信息
    FIND_EVENTINFOBYPAGE: api + "mini/event/findEventInfoByPage",
    FIND_EVENTINFODETAILBYID: api + "mini/event/findEventInfoDetailById",
    REGISTRATIONMANAGEMENT: api + "mini/event/registrationManagement",
    SAVE_EVENTCOLLECTION: api + "mini/event/saveEventCollection",
    SAVE_EVENTINFO: api + "mini/event/saveEventInfo",
    SAVE_EVENTLIKE: api + "mini/event/saveEventLike",
    SAVE_EVENTSEE: api + "mini/event/saveEventSee",
    DELETE_EVENTCOLLECTION: api + "/mini/event/deleteEventCollection",  // 取消收藏
    DELETE_EVENTLIKE: api + "/mini/event/deleteEventLike",  // 取消赞
    COUNT_DELETEEVENT: api + "/mini/event/countDeleteEvent"
  },
  MESSAGE: {
    FIND_EVENTMESSAGEBYPAGE: api + "eventMessage/findEventMessageByPage",
    FIND_MESSAGENOTICEBYPAGE: api + "eventMessage/findMessageNoticeByPage",
    SAVE_MESSAGEINFO: api + "/eventMessage/saveMessageInfo",
    DELETE_MESSAGEINFO: api + "/eventMessage/deleteMessageInfo",
    SELECT_ISMESSAGENEW: api + "/eventMessage/selectIsMessageNew"
  },
  INFORMATION: {
    FIND_ATTACHMENTFILE: api + "eventInformation/findAttachmentFile",
    FIND_INFORMATIONBYID: api + "/eventInformation/findInformationById"
    
  },
  BASE: {
    GET_OSSUPLOADURL: api + "/base/sys/mini/getOSSUploadUrl",   //获取上传文件URL
  },
  SYS: {
    UPLOAD_FILE: api + "/base/sys/mini/miniUploadFile", // 微信上传文件
  },
  OTHERS: {
    UPLOAD_IMAGE: 'https://icebar-invitedinner.oss-cn-shenzhen.aliyuncs.com/icebartech-invitedinner/64.jpg?Expires=1526553008&OSSAccessKeyId=LTAIBAHYUefLVanL&Signature=WoU4vPwtwydAF82Hl03%2FYXvOmnQ%3D',
  },
  AUTH: {
    SAVE_USERAUTH: api + "/mini/userAuth/saveUserAuth"
  },
  AWARD: {
    FIND_AWARDINFO: api + '/mini/award/findAwardInfoByPage', //查询我的奖品
    FIND_AWARD: api + '/mini/award/findAward',
    SAVE_AWARD: api + '/mini/award/saveAward'
  },
  LEVEl: {
    FIND_LEVEL_INFO: api + '/mini/level/findLevelInfo'
  },
  SIGN: {
    FIND_SING_LOG: api + '/mini/signLog/findSignLog',
    SAVE_SIGN_LOG: api + '/mini/signLog/saveSignLog'
  },
  MONEY: {
    FIND_MONEY_INFO: api + '/mini/money/findMoneyInfo'
  },
  REPLY: {
    FIND_REPLY_INFO: api + '/mini/reply/findUserReplyInfoByPage',
    SAVE_USER_REPLY: api + '/mini/reply/saveUserReply'
  }
}